$(function(){
	var currentMenu = $("#currentmenu").val();
	$("#daohang_ li").each(function(){
		//给按钮注册事件
		$(this).click(function(){
			window.location.href=$(this).attr("url");
		});
		if(jQuery.trim(currentMenu)==jQuery.trim($(this).text())){
			var url_bk = $(this).css("background-image");
			url_bk = url_bk.replace("u38_original","u43_original");
			$(this).css("background-image",url_bk);
		}
		
	});
});